﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace BusinessLogic
{
    [Serializable]
    public abstract class FormattedCodeTable<T> : CodeTable<T>
    {
        #region Fields
        private string _abbreviation;
        #endregion

        #region Methods
        public override abstract void Create();
        public override abstract void Delete();  
        protected override abstract List<T> ProtectedGetAll();
        protected override abstract T ProtectedGetByID(Guid id);
        public override void Update()
        {
            throw new NotImplementedException();
        }    
        #endregion

        #region Properties
        public string Abbreviation
        {
            get
            {
                return _abbreviation;
            }
            set
            {
                this._abbreviation = value;
            }
        }
        #endregion


    }
}